﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebPortal.Default"
    Theme="" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>
        <asp:Literal ID="Literal6" runat="server" Text="<%$Resources:lang,Default_ProjectTitle%>" />
    </title>
    <link href="Custom/Default/css/style.css" rel="stylesheet" rev="stylesheet" />
    <link href="Custom/Default/css/global.css" rel="stylesheet" rev="stylesheet" />
    <script src="Js/jquery.js" type="text/javascript"></script>

    <script type="text/javascript">
        function addfavorite() {
            if (document.all) {
                window.external.addFavorite('Default.aspx', 'Favirote');
            }
            else if (window.sidebar) {
                window.sidebar.addPanel('Ultimus BPM', 'Default.aspx', "");
            }
        }

        function changeStatus() {
            $(".left").toggle();
            $(".left1").toggle();
        }

        $(document).ready(function () {
            $("#menuName").text("<%=DEFAULT_MYTASK%>");
            $(".TreeView1_0").click(function (ele) {
                if (ele.currentTarget.href.indexOf("#") < 0) {
                    $("#menuName").text(ele.srcElement.innerText);
                }
                document.getElementById('frmContent').height=<%=DEFAULT_HEIGHT %>;
            });
        });
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="header">
        <div id="logo1" style="width: 250px; float: left; padding-left: 5px;">
        <a href="Default.aspx">
            <img src="Images/logo.gif" alt="Logo" style="height: 51px; width: 212px" /></a>
        </div>
        <div id="userArea">
            <table>
                <tr>
                    <td align="right">
                        <span class="kmenu"><a href="javascript:addfavorite();"><asp:Literal ID="Literal4" runat="server" Text="<%$Resources:lang,Default_Fav%>" /> <i></i></a></span><span class="kmenu"><a href="http://www.ultimus.com.cn" target="_blank">
                            <asp:Literal ID="Literal1" runat="server" Text="<%$Resources:lang,Default_Help%>" /> <i></i></a></span><a href="Login.aspx"  onclick="return confirm('<%=Default_LogoutConfirm %>');" class="quitIco ml15"><asp:Literal ID="Literal3" runat="server" Text="<%$Resources:lang,Default_Logout%>" /></a>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span class="welcomeIco"><asp:Literal ID="Literal2" runat="server" Text="<%$Resources:lang,Default_Welcome%>" /><a href="#" class="blue b ml5"><%=FULL_NAME%> <i></i></a></span>
                        <span class="date"><%=DateTime.Now.Year %><asp:Literal ID="Literal11" runat="server" Text="<%$Resources:lang,Default_Year%>" /><%=DateTime.Now.Month %><asp:Literal ID="Literal12" runat="server" Text="<%$Resources:lang,Default_Month%>" /><%=DateTime.Now.Day %><asp:Literal ID="Literal13" runat="server" Text="<%$Resources:lang,Default_Day%>" /></span>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <table class="bodyLayout">
        <tr>
            <td class="left" id="leftWarp">
                <div id="menu">
                    <strong><asp:Literal ID="Literal10" runat="server" Text="<%$Resources:lang,Default_Menu%>" /></strong><span><a href="javascript:changeStatus();"><img src="Custom/Default/images/LeftIcon.jpg" /></a></span></div>
                <div id="left">
                    <asp:TreeView ID="TreeView1" runat="server" CssClass="treenode" RootNodeStyle-Font-Bold="true"
                        SelectedNodeStyle-BackColor="AliceBlue" Font-Names="Arial">
                    </asp:TreeView>
                </div>
            </td>
            <td class="left1 hidden">
                <div id="Div1">
                    <span><a href="javascript:changeStatus();"><img src="Custom/Default/images/LeftIcon1.jpg" /></a></span></div>
            </td>
            <td>
                <div id="right">
                    <div class="place">
                        <div class="placeleft">
                            <i></i><asp:Literal ID="Literal7" runat="server" Text="<%$Resources:lang,Default_CurrentLocation%>" />：<a href="Default.aspx"><asp:Literal ID="Literal8" runat="server" Text="<%$Resources:lang,Default_HOME%>" /></a> >> <strong><b id="menuName"></b></strong>
                        </div>
                        <a href="javascript:document.frames[0].history.go(0);" class="shuaxin"><asp:Literal ID="Literal9" runat="server" Text="<%$Resources:lang,Default_Refresh%>" /> </a>
                    </div>
                    <div>
                        <iframe id="frmContent" src="<%=DEFAULT_URL %>" name="content" scrolling="no" frameborder="0"
                            width="100%" height="<%=DEFAULT_HEIGHT %>"></iframe>
                    </div>
                </div>
            </td>
        </tr>
    </table>
    <div class="hide">
        <asp:HiddenField ID="hidId" runat="server" />
    </div>
    <div id="footer">
        <asp:Literal ID="Literal5" runat="server" Text="<%$Resources:lang,Copyright%>" /> </div>
    </form>

    
</body>
</html>
